package com.fuyao.cloud.asset.inventory.process;

import com.fuyao.cloud.asset.entity.AssetCard;
import com.fuyao.cloud.asset.inventory.entity.InventoryTask;
import com.fuyao.cloud.asset.inventory.enums.InventoryTaskTypeEnum;
import org.apache.commons.compress.utils.Lists;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lyhills
 * @Description
 * @date 2023/9/15 16:30
 * @Version 1.0
 */
@Service
@InventoryTaskType(value = "space")
public class InventorySpaceAssetCard implements InventoryTaskTypeFactory {

    @Override
    public String getType() {
        return InventoryTaskTypeEnum.SPACE.getCode();
    }

    @Override
    public List<AssetCard> getAssetCardList(InventoryTask entity) {
        // TODO: 实现按空间盘点
        System.out.println("  按空间盘点数据获取 ");
        return Lists.newArrayList();
    }
}
